/**
 * JsApiParam.java
 * cn.ccig.web.pay.weixin.bean
 * Copyright (c) 2015, 北京 快先生科技有限公司版权所有.
*/

package com.sftz.modules.minapp.pay.dto;

import java.sql.Timestamp;

import lombok.Data;

import com.tencent.common.RandomStringGenerator;

/**
 * 微信公众号支付统一订单参数对象
 * @author   朱晓川
 * @Date	 2015-8-12 	 
 */
@Data
public class WeixinUnifiedOrderParam {

	private String appId;

	private String timeStamp = System.currentTimeMillis() + "";

	//随机字符串
	private String nonceStr = RandomStringGenerator.getRandomStringByLength(32);

	//签名方式
	private String signType = "MD5";

	private String packageInfo;

	private String paySign;

	/**订单号*/
	private String orderNo;

	/**微信预付单号*/
	private String prepay_id;

	/**金额*/
	private double amount;

	/**产品描述*/
	private String body;

	/**下单时间*/
	private Timestamp createTime;

	/**手机号*/
	private String tel;

	/**
	 * 二维码链接
	 * <p>
	 * trade_type为NATIVE时有返回
	 */
	private String code_url;

}
